﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface ILoaiPhong
    {
        [OperationContract]
        IEnumerable<LOAIPHONG> GetByAllLoaiPhong();

        [OperationContract]
        String InsertLoaiPhong(LOAIPHONG data);

        [OperationContract]
        String UpdateLoaiPhong(LOAIPHONG data);

        [OperationContract]
        String DeleteLoaiPhong(string id);

        [OperationContract]
        IEnumerable<LOAIPHONG> GetByTopLoaiPhong(string _top, string _where, string _order);

        [OperationContract]
        String ApproveLoaiPhong(LOAIPHONG data);
    }
}
